#include "oldform.h"
#include "ui_oldform.h"

OldForm::OldForm(QWidget *parent) : QWidget(parent), ui(new Ui::OldForm)
{
    ui->setupUi(this);
//    ui->mainToolBar->addAction(ui->mainPageAction);
//    ui->mainToolBar->addAction(ui->smallGladeAction);
//    ui->mainToolBar->addAction(ui->bigGladeAction);
//    ui->mainToolBar->setIconSize(QSize(40, 40));
//    connect(ui->mainPageAction, SIGNAL(triggered()), this, SLOT(changeStackMain()));
//    connect(ui->smallGladeAction, SIGNAL(triggered()), this, SLOT(changeStackSmallGlade()));
//    connect(ui->bigGladeAction, SIGNAL(triggered()), this, SLOT(changeStackBigGlade()));
}

OldForm::~OldForm()
{
    delete ui;
}

void OldForm::changeStackMain()
{
//    ui->stackedWidget->setCurrentIndex(0);
}

void OldForm::changeStackSmallGlade()
{
//    ui->stackedWidget->setCurrentIndex(1);
}

void OldForm::changeStackBigGlade()
{
//    ui->stackedWidget->setCurrentIndex(2);
}

